import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        int[] x = {1,2,3};
        int[] y = {1,2,3};
        System.out.println(x==y);
        System.out.println(Arrays.equals(x,y));
    }
}
